package com.android.lovely.api.service

import com.android.lovely.api.manager.HttpManager
import okhttp3.ResponseBody
import retrofit2.http.GET
import retrofit2.http.Streaming
import retrofit2.http.Url

val downloadService = HttpManager.createApi<DownloadService>()

interface DownloadService {
    /**
     * 下载文件
     */
    @Streaming
    @GET
    suspend fun downloadFile(@Url fileUrl: String): ResponseBody
}